/*
 * URL: http://code.google.com/p/nagatsuki-accounting-lib/
 */
/**
 * $Id: Entry.java 112 2009-07-27 08:32:14Z tanaka.akira.2006 $
 */
package com.googlecode.nagatsuki.accountinglib.model.journal;

import java.math.BigDecimal;

import com.googlecode.nagatsuki.accountinglib.model.Account;
import com.googlecode.nagatsuki.accountinglib.model.Model;

/**
 * 仕訳最小単位クラス
 *
 * @author tanaka.akira.2006
 * @see {@link Model}
 */
public class Entry implements Model {
	/**
	 * SID
	 */
	private static final long serialVersionUID = 3216139046619645970L;

	/** 取引番号 */
	public String dateNo;

	/** 勘定 */
	public Account account;

	/** 金額 */
	public BigDecimal amount;

	/**
	 * 借方フラグ
	 * <p>
	 * true=借方, false=貸方
	 * </p>
	 */
	public boolean debit;

}
